.TH "Tools::PageValidateHelper" 3 "Sun Apr 10 2011" "Version 1.0" "1101" \" -*- nroff -*-
.ad l
.nh
.SH NAME
Tools::PageValidateHelper \- 
.PP
PageValidate 的摘要说明  

.SH SYNOPSIS
.br
.PP
.SS "静态公有成员"

.in +1c
.ti -1c
.RI "static bool \fBIsPhone\fP (string inputData)"
.br
.ti -1c
.RI "static string \fBFetchInputDigit\fP (HttpRequest req, string inputKey, int maxLen)"
.br
.RI "\fI检查Request查询字符串的键值，是否是数字，最大长度限制 \fP"
.ti -1c
.RI "static bool \fBIsNumber\fP (string inputData)"
.br
.RI "\fI是否数字字符串 \fP"
.ti -1c
.RI "static bool \fBIsNumberSign\fP (string inputData)"
.br
.RI "\fI是否数字字符串 可带正负号 \fP"
.ti -1c
.RI "static bool \fBIsDecimal\fP (string inputData)"
.br
.RI "\fI是否是浮点数 \fP"
.ti -1c
.RI "static bool \fBIsDecimalSign\fP (string inputData)"
.br
.RI "\fI是否是浮点数 可带正负号 \fP"
.ti -1c
.RI "static bool \fBIsHasCHZN\fP (string inputData)"
.br
.RI "\fI检测是否有中文字符 \fP"
.ti -1c
.RI "static bool \fBIsEmail1\fP (string inputData)"
.br
.RI "\fI是否是浮点数 可带正负号 \fP"
.ti -1c
.RI "static bool \fBIsDateTime1\fP (string str)"
.br
.RI "\fI日期格式字符串判断 \fP"
.ti -1c
.RI "static string \fBSqlText\fP (string sqlInput, int maxLength)"
.br
.RI "\fI检查字符串最大长度，返回指定长度的串 \fP"
.ti -1c
.RI "static string \fBHtmlEncode\fP (string inputData)"
.br
.RI "\fI字符串编码 \fP"
.ti -1c
.RI "static void \fBSetLabel\fP (Label lbl, string txtInput)"
.br
.RI "\fI设置Label显示Encode的字符串 \fP"
.ti -1c
.RI "static void \fBSetLabel\fP (Label lbl, object inputObj)"
.br
.ti -1c
.RI "static string \fBInputText\fP (string inputString, int maxLength)"
.br
.ti -1c
.RI "static string \fBEncode\fP (string str)"
.br
.RI "\fI转换成 HTML code \fP"
.ti -1c
.RI "static string \fBDecode\fP (string str)"
.br
.RI "\fI解析html成 普通文本 \fP"
.ti -1c
.RI "static string \fBSqlTextClear\fP (string sqlText)"
.br
.ti -1c
.RI "static bool \fBisContainSameChar\fP (string strInput)"
.br
.ti -1c
.RI "static bool \fBisContainSameChar\fP (string strInput, string charInput, int lenInput)"
.br
.ti -1c
.RI "static bool \fBisContainSpecChar\fP (string strInput)"
.br
.RI "\fI检查输入的参数是不是某些定义好的特殊字符：这个方法目前用于密码输入的安全检查 \fP"
.ti -1c
.RI "static bool \fBIsEmail\fP (string source)"
.br
.RI "\fI验证邮箱 \fP"
.ti -1c
.RI "static bool \fBHasEmail\fP (string source)"
.br
.ti -1c
.RI "static bool \fBIsUrl\fP (string source)"
.br
.RI "\fI验证网址 \fP"
.ti -1c
.RI "static bool \fBHasUrl\fP (string source)"
.br
.ti -1c
.RI "static bool \fBIsDateTime\fP (string source)"
.br
.RI "\fI验证日期 \fP"
.ti -1c
.RI "static bool \fBIsMobile\fP (string source)"
.br
.RI "\fI验证手机号 \fP"
.ti -1c
.RI "static bool \fBHasMobile\fP (string source)"
.br
.ti -1c
.RI "static bool \fBIsIP\fP (string source)"
.br
.RI "\fI验证IP \fP"
.ti -1c
.RI "static bool \fBHasIP\fP (string source)"
.br
.ti -1c
.RI "static bool \fBIsIDCard\fP (string Id)"
.br
.RI "\fI验证身份证是否有效 \fP"
.ti -1c
.RI "static bool \fBIsIDCard18\fP (string Id)"
.br
.ti -1c
.RI "static bool \fBIsIDCard15\fP (string Id)"
.br
.ti -1c
.RI "static bool \fBIsInt\fP (string source)"
.br
.RI "\fI是不是Int型的 \fP"
.ti -1c
.RI "static bool \fBIsLengthStr\fP (string source, int begin, int end)"
.br
.RI "\fI看字符串的长度是不是在限定数之间 一个中文为两个字符 \fP"
.ti -1c
.RI "static bool \fBIsTel\fP (string source)"
.br
.RI "\fI是不是中国电话，格式010-85849685 \fP"
.ti -1c
.RI "static bool \fBIsPostCode\fP (string source)"
.br
.RI "\fI邮政编码 6个数字 \fP"
.ti -1c
.RI "static bool \fBIsChinese\fP (string source)"
.br
.RI "\fI中文 \fP"
.ti -1c
.RI "static bool \fBhasChinese\fP (string source)"
.br
.ti -1c
.RI "static bool \fBIsNormalChar\fP (string source)"
.br
.RI "\fI验证是不是正常字符 字母，数字，下划线的组合 \fP"
.ti -1c
.RI "static string \fBCheckStr\fP (string html)"
.br
.RI "\fI过滤html,js,css代码 \fP"
.in -1c
.SH "详细描述"
.PP 
PageValidate 的摘要说明 


.SH "成员函数文档"
.PP 
.SS "static string Tools.PageValidateHelper.CheckStr (string html)\fC [static]\fP"
.PP
过滤html,js,css代码 过滤html,js,css代码
.PP
\fB参数:\fP
.RS 4
\fIhtml\fP 参数传入
.RE
.PP
\fB返回:\fP
.RS 4
.RE
.PP

.SS "static string Tools.PageValidateHelper.Decode (string str)\fC [static]\fP"
.PP
解析html成 普通文本 \fB参数:\fP
.RS 4
\fIstr\fP string
.RE
.PP
\fB返回:\fP
.RS 4
string
.RE
.PP

.SS "static string Tools.PageValidateHelper.Encode (string str)\fC [static]\fP"
.PP
转换成 HTML code \fB参数:\fP
.RS 4
\fIstr\fP string
.RE
.PP
\fB返回:\fP
.RS 4
string
.RE
.PP

.SS "static string Tools.PageValidateHelper.FetchInputDigit (HttpRequest req, string inputKey, int maxLen)\fC [static]\fP"
.PP
检查Request查询字符串的键值，是否是数字，最大长度限制 \fB参数:\fP
.RS 4
\fIreq\fP Request
.br
\fIinputKey\fP Request的键值
.br
\fImaxLen\fP 最大长度
.RE
.PP
\fB返回:\fP
.RS 4
返回Request查询字符串
.RE
.PP

.SS "static string Tools.PageValidateHelper.HtmlEncode (string inputData)\fC [static]\fP"
.PP
字符串编码 \fB参数:\fP
.RS 4
\fIinputData\fP 
.RE
.PP
\fB返回:\fP
.RS 4
.RE
.PP

.SS "static bool Tools.PageValidateHelper.IsChinese (string source)\fC [static]\fP"
.PP
中文 \fB参数:\fP
.RS 4
\fIsource\fP 
.RE
.PP
\fB返回:\fP
.RS 4
.RE
.PP

.SS "static bool Tools.PageValidateHelper.isContainSpecChar (string strInput)\fC [static]\fP"
.PP
检查输入的参数是不是某些定义好的特殊字符：这个方法目前用于密码输入的安全检查 
.SS "static bool Tools.PageValidateHelper.IsDateTime (string source)\fC [static]\fP"
.PP
验证日期 \fB参数:\fP
.RS 4
\fIsource\fP 
.RE
.PP
\fB返回:\fP
.RS 4
.RE
.PP

.SS "static bool Tools.PageValidateHelper.IsDateTime1 (string str)\fC [static]\fP"
.PP
日期格式字符串判断 \fB参数:\fP
.RS 4
\fIstr\fP 
.RE
.PP
\fB返回:\fP
.RS 4
.RE
.PP

.SS "static bool Tools.PageValidateHelper.IsDecimal (string inputData)\fC [static]\fP"
.PP
是否是浮点数 \fB参数:\fP
.RS 4
\fIinputData\fP 输入字符串
.RE
.PP
\fB返回:\fP
.RS 4
.RE
.PP

.SS "static bool Tools.PageValidateHelper.IsDecimalSign (string inputData)\fC [static]\fP"
.PP
是否是浮点数 可带正负号 \fB参数:\fP
.RS 4
\fIinputData\fP 输入字符串
.RE
.PP
\fB返回:\fP
.RS 4
.RE
.PP

.SS "static bool Tools.PageValidateHelper.IsEmail (string source)\fC [static]\fP"
.PP
验证邮箱 \fB参数:\fP
.RS 4
\fIsource\fP 
.RE
.PP
\fB返回:\fP
.RS 4
.RE
.PP

.SS "static bool Tools.PageValidateHelper.IsEmail1 (string inputData)\fC [static]\fP"
.PP
是否是浮点数 可带正负号 \fB参数:\fP
.RS 4
\fIinputData\fP 输入字符串
.RE
.PP
\fB返回:\fP
.RS 4
.RE
.PP

.SS "static bool Tools.PageValidateHelper.IsHasCHZN (string inputData)\fC [static]\fP"
.PP
检测是否有中文字符 \fB参数:\fP
.RS 4
\fIinputData\fP 
.RE
.PP
\fB返回:\fP
.RS 4
.RE
.PP

.SS "static bool Tools.PageValidateHelper.IsIDCard (string Id)\fC [static]\fP"
.PP
验证身份证是否有效 \fB参数:\fP
.RS 4
\fIId\fP 
.RE
.PP
\fB返回:\fP
.RS 4
.RE
.PP

.SS "static bool Tools.PageValidateHelper.IsInt (string source)\fC [static]\fP"
.PP
是不是Int型的 \fB参数:\fP
.RS 4
\fIsource\fP 
.RE
.PP
\fB返回:\fP
.RS 4
.RE
.PP

.SS "static bool Tools.PageValidateHelper.IsIP (string source)\fC [static]\fP"
.PP
验证IP \fB参数:\fP
.RS 4
\fIsource\fP 
.RE
.PP
\fB返回:\fP
.RS 4
.RE
.PP

.SS "static bool Tools.PageValidateHelper.IsLengthStr (string source, int begin, int end)\fC [static]\fP"
.PP
看字符串的长度是不是在限定数之间 一个中文为两个字符 \fB参数:\fP
.RS 4
\fIsource\fP 字符串
.br
\fIbegin\fP 大于等于
.br
\fIend\fP 小于等于
.RE
.PP
\fB返回:\fP
.RS 4
.RE
.PP

.SS "static bool Tools.PageValidateHelper.IsMobile (string source)\fC [static]\fP"
.PP
验证手机号 \fB参数:\fP
.RS 4
\fIsource\fP 
.RE
.PP
\fB返回:\fP
.RS 4
.RE
.PP

.SS "static bool Tools.PageValidateHelper.IsNormalChar (string source)\fC [static]\fP"
.PP
验证是不是正常字符 字母，数字，下划线的组合 \fB参数:\fP
.RS 4
\fIsource\fP 
.RE
.PP
\fB返回:\fP
.RS 4
.RE
.PP

.SS "static bool Tools.PageValidateHelper.IsNumber (string inputData)\fC [static]\fP"
.PP
是否数字字符串 \fB参数:\fP
.RS 4
\fIinputData\fP 输入字符串
.RE
.PP
\fB返回:\fP
.RS 4
.RE
.PP

.SS "static bool Tools.PageValidateHelper.IsNumberSign (string inputData)\fC [static]\fP"
.PP
是否数字字符串 可带正负号 \fB参数:\fP
.RS 4
\fIinputData\fP 输入字符串
.RE
.PP
\fB返回:\fP
.RS 4
.RE
.PP

.SS "static bool Tools.PageValidateHelper.IsPostCode (string source)\fC [static]\fP"
.PP
邮政编码 6个数字 \fB参数:\fP
.RS 4
\fIsource\fP 
.RE
.PP
\fB返回:\fP
.RS 4
.RE
.PP

.SS "static bool Tools.PageValidateHelper.IsTel (string source)\fC [static]\fP"
.PP
是不是中国电话，格式010-85849685 \fB参数:\fP
.RS 4
\fIsource\fP 
.RE
.PP
\fB返回:\fP
.RS 4
.RE
.PP

.SS "static bool Tools.PageValidateHelper.IsUrl (string source)\fC [static]\fP"
.PP
验证网址 \fB参数:\fP
.RS 4
\fIsource\fP 
.RE
.PP
\fB返回:\fP
.RS 4
.RE
.PP

.SS "static void Tools.PageValidateHelper.SetLabel (Label lbl, string txtInput)\fC [static]\fP"
.PP
设置Label显示Encode的字符串 \fB参数:\fP
.RS 4
\fIlbl\fP 
.br
\fItxtInput\fP 
.RE
.PP

.SS "static string Tools.PageValidateHelper.SqlText (string sqlInput, int maxLength)\fC [static]\fP"
.PP
检查字符串最大长度，返回指定长度的串 \fB参数:\fP
.RS 4
\fIsqlInput\fP 输入字符串
.br
\fImaxLength\fP 最大长度
.RE
.PP
\fB返回:\fP
.RS 4
.RE
.PP


.SH "作者"
.PP 
为1101，由Doyxgen通过分析源代码自动生成。
